package cn.iocoder.yudao.module.lfd.convert.appraise;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.lfd.controller.admin.appraise.vo.*;
import cn.iocoder.yudao.module.lfd.dal.dataobject.appraise.AppraiseDO;

/**
 * 评价 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface AppraiseConvert {

    AppraiseConvert INSTANCE = Mappers.getMapper(AppraiseConvert.class);

    AppraiseDO convert(AppraiseCreateReqVO bean);

    AppraiseDO convert(AppraiseUpdateReqVO bean);

    AppraiseRespVO convert(AppraiseDO bean);

    List<AppraiseRespVO> convertList(List<AppraiseDO> list);

    PageResult<AppraiseRespVO> convertPage(PageResult<AppraiseDO> page);

    List<AppraiseExcelVO> convertList02(List<AppraiseDO> list);

}
